import React from 'react'
import o from 'odata'
import Constant from '../utils/Constant'
const HOST = Constant.HOST;
// const HOST = 'http://services.odata.org/V4/OData/OData.svc';

o().config({
    endpoint: HOST + "/bods.svc/",
    version: 4,
    strictMode: true,
    error: function (res) {
        console.log(JSON.stringify(res))
    },
    // appending: [{ name: 'token', value: token }]
});
export default o